/* SerialConnectComponent.css */

/* 最外层 form 宽度填满 */
.serial-form {
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
}

/* 按钮区域右对齐，行内展示 */
.serial-button-group {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* 第一行表单项间距一致 */
.serial-form .ant-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 防止下移导致第一行被“顶上去” */
.serial-form .ant-row {
    margin-top: 12px;
}

/* 调整展开区域间距 */
.serial-form .ant-row + .ant-row {
    margin-top: 12px;
}

/* 控制展开后区域的间距 */
.serial-form .ant-form-item {
    margin-bottom: 0;
}
